CREATE TABLE [dbo].[u_f1_c_cue_usan_predio]
(
[Id] [int] NOT NULL IDENTITY(1, 1),
[idCui] [int] NOT NULL,
[idCue] [int] NOT NULL,
[idLugarServComedor] [int] NULL,
[Observaciones] [varchar] (50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[u_f1_c_cue_usan_predio] ADD CONSTRAINT [PK_u_f1_c_cue_usan_predio] PRIMARY KEY CLUSTERED  ([Id]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[u_f1_c_cue_usan_predio] WITH NOCHECK ADD CONSTRAINT [FK_u_f1_c_cue_usan_predio_u_cue] FOREIGN KEY ([idCue]) REFERENCES [dbo].[u_cue] ([idCue]) NOT FOR REPLICATION
GO
ALTER TABLE [dbo].[u_f1_c_cue_usan_predio] WITH NOCHECK ADD CONSTRAINT [FK_u_f1_c_cue_usan_predio_u_cui] FOREIGN KEY ([idCui]) REFERENCES [dbo].[u_cui] ([Id]) NOT FOR REPLICATION
GO
ALTER TABLE [dbo].[u_f1_c_cue_usan_predio] NOCHECK CONSTRAINT [FK_u_f1_c_cue_usan_predio_u_cue]
GO
ALTER TABLE [dbo].[u_f1_c_cue_usan_predio] NOCHECK CONSTRAINT [FK_u_f1_c_cue_usan_predio_u_cui]
GO
